duplicate identifiers fix: do not allow the same metadata to be added tw...

...ice.