Add member function that prefixes translation key with class name automatically.