A document type's index value from that value, its German name, Hamburg's stored value
(vertraegeoeffinteresse) or its published one (vertraege_oeff_interesse); undefined if none fits.
A value with more words than the type's name ("Gutachten zum Radverkehr") is no type: the other
words would be dropped without a word (documentTypeAndWords finds the type in it).
A document type's index value from that value, its German name, Hamburg's stored value (vertraegeoeffinteresse) or its published one (vertraege_oeff_interesse); undefined if none fits. A value with more words than the type's name ("Gutachten zum Radverkehr") is no type: the other words would be dropped without a word (documentTypeAndWords finds the type in it).