Added basic ability to determine document type from the document ID using a '::' separator