removed dependency on oto database for resolving of glossary id's.
However, this should still be reconsidered as the hardcoded conversion
may break upon DB changes