If you are stopped because of a traffic violation (crime) in New York state you need to be able to identify yourself - https://en.wikipedia.org/wiki/Stop_and_identify_statutes