NAP requires that an XML record includes an unique identifier in the form of UUID (Universally Unique IDentifier).
If you are looking for a way to generate UUID, NapGen comes with the
server-side function napgen__make_uuid(). See the file install\sql_psql_make_uuid.sql
.