It not just the UK. The EU is working on similar legislature with an accompanying app and some members are already introducing measures; some US states too. I think most call it the Age Check which is supposed to prevent minors from accessing adult sites, but in the end you will end up with an internet that knows exactly who you are and leave a huge data trail.