Citizens are not required to present their state issued identifications to civilians.
Ordinarily no, but a homeowners association is a special case. Homeowners in the association have to sign legal agreements binding them to the association rules. If they do not follow the rules, the HOA can legally force them to do so or force penalties out of them.
My advice to people is to stay out of Home owners associations. They are often a collection of arrogant @$$holes who want to lord it over on other people.