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 dbo.napgen__make_uuid(). See the file install\sql_msSql_make_uuid.sql
.