fn format_identifier(input: &str, is_pascal_case: bool) -> String
Utility function to convert an identifier to pascal or camel case.