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.
My house is my refuge, an emotional piece of architecture, not a cold piece of convenience.