Typically, if a civilian demands to see my ID while I am on a property that I own, I tell them to get lost.
If you are an exclusive owner, you can do that. If you share ownership with a bunch of other @$$holes, and they all get together and write bylaws and other Homeowners association crap, and their rules require you to prove residency to use the pool because they have so many owners that they don't really know each other, then you can't do that. You have to show your ID.