Gambling businesses are required by law to perform ID checks. This is also for your safety. You would not want some stranger to make off with your winnings.