The guy was a complete douche You do not have a right to drive, that is a privilege granted by the states and carries with it certain obligations. One of those is that you provide proof of identity when stopped, no matter the reason. I didnt do any additional searching, but I did find a few links to court cases that show that if you are driving, you are required to show your license if stopped.

If you want to gripe about the legality of the stop you can, but when you are stopped, you are required to surrender your license for inspection. If you are a passenger in the vehicle, you are not required to provide proof of identity unless the officer can show probable cause.