"Not everyone has those" seems probably a USA-related perspective as people not having ID is a problem there; but in many places in Europe it's normal to assume that everyone does have a valid ID; you're required to get one when you become an adult, you're required to report if it gets lost/stolen so that it gets blocked and replaced. You don't have to have that ID with you, but not having a passport or ID card at all is a misdemeanor. Even homeless drug addicts generally have them because it's necessary for various things e.g. social services.
If someone needs banking services (or, really, any services from anyone) but don't have a proper gov't ID document then would be considered normal to require that the very first thing they'd need to do is to get/replace that ID. And if you have that, then that's all you need for basic banking services.
You are not required to have such a thing in at least some states in Europe. Example in [0] (in german). UK also does not require you to have a passport or other id.
Getting such a thing requires a bank account or at least cash. How do you get cash if you don't have an ID? You can't get a bank account, so you can't collect unemployment benefits.
If someone needs banking services (or, really, any services from anyone) but don't have a proper gov't ID document then would be considered normal to require that the very first thing they'd need to do is to get/replace that ID. And if you have that, then that's all you need for basic banking services.