Utility functions for toCamel(code), toCode(camel), and call(str, elem)