accept dois in url format

also parse doi: and pmid: prefixes.  Did name refactoring for clarity.
replace the right string