Not off-hand but it goes back to at least the early 20th century. There have been many attempts at a national ID system via technical loopholes but the courts have not looked kindly on them. It is the reason a Social Security Number is explicitly not to be used as an ID in law, so as to maintain its legality. It is the reason that every part of the Real ID Act that involves the Feds aggregating a centralized ID database from the States is strictly optional (and many States have opted to opt out of that). The Supreme Court has already ruled that Federal regulatory and taxation power cannot be used to induce States to comply, as that would be an end-run around Constitutional limits on Federal authority. Whether I like it or not doesn’t matter, I recognize that this is the reality.
As a heuristic, when something obvious and simple, like a national ID, has inexplicably never existed across every political administration, it is unlikely to be an oversight. This has been playing out for a very long time, it is unfortunate that most Americans are not familiar with the legal history.
It is similar to why people were surprised the government didn’t even try to enforce lockdowns during COVID anywhere in the US. Freedom of travel was thoroughly adjudicated across many cases by the Supreme Court covering almost every circumstance imaginable. Any prohibitions on freedom of movement are subject to the “strict scrutiny” standard, same as freedom of speech. Any politician attempting to do so would have invited instant wrath and injunctions from the judicial system, and their legal advisors knew it.