Store global document id (guid) on document node.