That is called KYC – Know Your own Customer – and it is lawfully required at each and every registered gambling establishment