It should be well known that you are required to show ID if pulled over [Whren v. United States (1996)], your passenger is required to show his or her ID [Brendlin v. California (2007) & Arizona v. Johnson (2009)] , and you must exist the vehicle if asked to do so [Pennsylvania v. Mimms (1977) (for drivers) & Maryland v. Wilson (1997) (for passengers)].
All of these requirements have been litigated to the supreme court. You should also know the difference between probably cause and reasonable suspicion. We should add these topics to high school civics or something.