Yes it is safe to provide your National Insurance number. If someone inappropriate comes across your form and tries to steal your identity then they will have a big job ahead of them, as they’ll still have to produce a fake photo ID etc. By law all employers should be checking new starter’s NI number and photographic ID to ensure they match and therefore have a right to work in the UK.