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.
Think how different human societies would be if they were based on love rather than justice. But no such societies have ever existed on earth.