Fixing generation of identifiers stemming from references to other namespaces. However, due to a problem with the STIX bindings, the namespace info is currently not added to the XML.