Capitalization is one area I have never had an issue with.
I documented what I originally found as a Feature Request and I did find out it is "not" a bug because this is actually how Groovy does stuff and it would require Hubitat to code a workaround (thus, Feature Request).