Function adjustMethodStyle
Adjusts the naming convention for a given function name to the specified style.
The input name is assumed to be in lowerCamelCase (D-style) or PascalCase. Acronyms (e.g. "HTML") should be written all caps