Performs rdf_global_id/2 on
predixed IRIs and rdf_global_object/2
on RDF literals, by recursively analysing the term. Note that the
predicate is a meta-predicate on the output argument. This is necessary
to get the module context while the first argument may be of the form
Terms of the form Prefix:Local that appear in TermIn
Prefix is not defined are not replaced. Unlike rdf_global_id/2
error is raised.