private static String sanitizeMethodOrProperty(final String name)
    {
        if (shadowsKeyword(name))
        {
            return "r#" + name;
        }
        else
        {
            return name;
        }
    }
Converts to 'snake_case' but will also handle when there are multiple
upper case characters in a row 'UPPERCase' => 'upper_case'.

@param value to be formatted
@return the string formatted to 'lower_snake_case'
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustUtil.java