I find this kind of sentiment a bit funny, because we already have much worse
Credit scores are opaque ratings of people kept by private organisations used to refuse business to people effectively based on their spending & borrowing behaviour, many of these will now happily encourage you to link your accounts so they get itemised data from some people now too.
This could literally be happening today and they would just need to say "sorry your credit isn't good enough". Credit score factors into your ability to rent & buy accommodation in the UK already.
There's no reason for these companies to switch to using a government ID for these kinds of decisions because that would have to be a more transparent process and less easily used to their benefit.
FWIW, I'm against mandatory ID even though we effectively already have it in the form of national insurance. IMO the ID being digital should be a non issue as long as it's optional (there also needs to be a free physical version of any national identity for those without phones).