If only everyone in the UK had some sort of ID card with a code that they could enter into something like a payment page for a credit/debit card and a PIN number to go with it. That could be verified by the bank of government identity watchdog and then the age consent passed back to the website.
ID cards for all and .gov knowing all your favourite smut sites!
Hasn't that been a Hobby horse for May for several years now....