The generator for the name needs something to start with. Just 'marriage' will collide as sometimes you have multiple of those in one profile. So I just added a part of the document ID to it.(It is not meant to be readable, it should be unique in my view).
I simply copy the identifier tag, add a / to it and use that for as a repeat inline reference in one profile.
Changing the name-id to another identifier is possible, but it needs to be something that is present in all documents. WieWasWie is not consistent at all unfortunately, as all archives use different templates in VeleHanden and besides the Burgerlijke Stand records there are many many others as well (census, DTB, passenger lists)... If you know if something that all records have that you prefer, please let me know.