Around the time social media emerged all of this changed. People started voluntarily using their real names and photos. They share intimate details about their life to complete strangers. They demand attention, they want to be noticed, they want a "record". It's trivial to piece together enough across anyones social media accounts to pin point where they live, possibly where they travel (sometimes daily), etc.
Subsequently we have children who are being born and raised by this system. It makes sense to me to fence these kids away from the internet. I take the more extreme stance of fencing children away from the entire internet until at least they're teens but I have also watched it turn from a place where you can learn to a very dangerous place for anyone not smart enough to remain anonymous.
Should the federal or state government regulate this? I don't know. What I do know is every bit of data on education. child rearing, health, etc have shown that the average person in the west is completely and utterly incapable of rearing children. Someone has to step in. We are getting to be past the point "it's the parents responsibility" works when the second and third order effects dramatically shift society and it's culture. Either we begin severely punishing parents for failures to thrive (e.g. prison time) or we enact laws like this. I am not against the idea of putting parents in prison for child neglect for their iPad kid, and investigating and potentially removing children from a home when their grades in school have a pattern of being excruciatingly poor despite intervention.
Legislators have a far easier time legislating ID laws than child neglect laws, however, and these ID laws are easier to swallow given existing infrastructure.