There are privacy preserving technologies that can do this.
See the work of Jan Camenisch for example: https://jan.camenisch.org
But I doubt anything so well thought out would be implemented for this. Current government suggestions are credit card checks, checking identity against government passport records, or your mobile phone service provider.
I don't even understand the mobile phone one. My son has a mobile phone, but I'm the account holder according to the phone company. He's too young to enter into contracts for a start!