if you haven't been arrested, and a police officer walks up to you on the street and asks you what your name is, does the law say you have to tell the police officer your name? what about a police officer asking to see your id when your already inside a bar or nightclub?
{EDIT MOD RC: corrected spelling}