Build a DOI based on resourceid or doi element in manifest.xml