Eliminate use of create_function() in AgaviTranslationManager::getLocaleIdentifier(), closes #1274