Naming standards and conventions for page attributes

My direct question is should I prefer camelCase or dagger-case for naming page attributes? I know how to query for the former, not sure how to query for the latter, so assuming I should stick with camelCase?

More broadly, is there guidance on naming conventions for the "things" that we create?

i don't think there is a naming convention, or if it really matters. TBH never tried to use different cases. i usually prefer camelCase and snake_case and sometimes also PascalCase, but i use them all and afaik i never had issues with it. i wouldnt recommedn dagger-case/kebab-case because "-" can behave sometimes as a separator, and it could mess up the parsing if not accounted for, but i guess camelCase, PascalCase or even snake_case should be safe in all environments, so its more a preferance and not a convention.