translateFunctionDeclation uses toKeywordId