US. 18 isn’t an ok statute & not specific to failing to identify.I think this is what you're looking for 18 U.S.C. § 242
Also, see this link - https://www.oklahomalegalgroup.com/...sues-end-proposed-oklahoma-stop-and-frisk-law
And here - https://worldpopulationreview.com/state-rankings/stop-and-id-states
Stop & ID can vary from state to state. Even states with stop & ID they still need reasonable suspicion to demand ID.
I’m looking for a Texas type ID law like 38.02 that clearly defines that you only have to ID If arrested. Reasonable suspicion is pretty gray & if cops can demand ID for simple detention, it’s truly a “show me your papers” situation.