I have seen such a system. A festival near me has a limited number of tickets available each year (due to site and staff restrictions) with surprisingly high demand. Their solution is to do a lottery that gives people an opportunity to buy tickets, requiring the name of each individual ticket recipient at purchase, then they match the names on each ticket to IDs at the gates. The only way to defeat this system is with fake ids.