word prediction keys now pass actual database string to getWordId

fixes #86