Asking questions is an essential part of police investigation. In the ordinary sense a police officer is free to ask a person for identification without implicating the Fourth Amendment.
I love hiking in the hills not far from my house. I'm invested in my hikes. Sometimes kids go up there and spray-paint over the signs; I've found a biodegradable paint cleaner, and I'll scrub the signs so they're nice and clean.