You must only have your DL/OL on your person when operating a motor vehicle, or other vehicle in which a license is required by law (electric GEM Neighborhood Electric Vehicle's for instance, motorized bicycles, mopeds, etc.). Having your "papers" or DL on your person while out and about for a walk is not required, ever since the Supreme Court struck down California's Penal Code Section 647(e), which had similar wording to the case decision in Nevada Vs. Hiibel.
HOWEVER, this does not change the fact that you are legally required to identify your self or provide satisfactory evidence of identity should you be lawfully detained under any circumstance. ANY CIRCUMSTANCE. Being at a bar during a crime or bar fight- yes, legally detained pending the investigation to determine injuries, crimes, extent of injuries, and people's involvement in the crime. That can take a while as the scene is dynamic and chaotic.
Reliance on law enforcement databases to confirm your identity from name/dob/etc information YOU provide is not sufficient and is simply a matter of convenience should that law enforcement officer have access to a working in-vehicle computer that can access DMV/MVA datsabases that will produce a photograph and identifying information (height/weight/age/etc.) to confirm the info you provide verbally. Just providing it to a Park Range that can't do that, is NOT sufficient proof of identity should you be detained. A traffic stop, even if YOU ARE NOT DRIVING is still a lawful detention.
As a refresher- a lawful detention is when a police officer can articulate a reasonable suspicion that ANY crime (including a traffic infraction or minor municipal code) has occurred, is occurring, or about to occur and the person detained MAY be involved. Not PROBABLY, not DEFINITELY, but simply MAY.
If you disagree that you are being lawfully detained, your recourse is NOT TO RESIST OR BE A YOUTUBE OR CURBSIDE LAWYER. Your lawful recourse is civil suit after the fact. That is how people end up injured or dead.
A police officer is entitled, and in fact obligated, to use the reasonable amount of force necessary to effect a lawful detention, arrest, prevent escape or overcome resistance (or restore order to a custody facility).
If you blow off a cop who is ordering or directing you to do something, expect to be physically restrained, batoned or tased to effect that lawful detention. The definition of lawful is that which is viewed through a lens that the police officer believes is reasonable based on their articulable training and experience, per 1989's U. S. Supreme Court decision in Graham vs Connor. NOT ON YOUR OPINION OR KNOWLEDGE OF WHAT IS OCCURRING?
Food for thought for the rebels amongst us.