If the police have reason to believe you may have witnessed a crime, or that you may be a suspect or person of interest in a crime or emergency situation, they can require you to disclose your name, date of birth, and residential address in order to identify you.
You are not required to have any further discussion with law enforcement, and may invoke your right to remain silent as well as your right to counsel if you are being detained.
Failure to disclose your name, address and/or date of birth when lawfully demanded by the police can result in criminal charges against you.
