maint: Add nclaux.gen_id

* dietncl/nclaux.lua (gen_id): New function; generates an unique XML-ID.
* tests/test-nclaux-gen-id.lua: New test; checks nclaux.gen_id.
* Makefile (TESTS): Updated accordingly.