Given a string and an associative list of strings and sosofos, return the sosofo of the matching string, or return the literal string as a sosofo.
(This function is used for a particular task in the DocBook stylesheets. It may not be particularly general, but its in dblib.dsl' because there is nothing DTD-specific about it.)