so long as it is done in such a way that it can't be removed or made illegible without defacing or destroying a permanent structual component of the boat then you are compliant. I used an awl on a wooden bulkhead which is out of view: I'm sure there are more elegant ways of doing this but I just wanted to be 'legal' and I didn't want to mske it into a major project.
Jerry