The Glastonbury music festival, the largest of its kind in the world, requires each ticket purchase to be associated with a government ID. The ID must be presented at entry and must match the ticket sale. As far as I know, they do not have problems with scalpers. So tech might not help, but maybe beaurocracy can :)
(Well, they have an issue where everyone tries to buy a ticket at the same time and it crashes their servers. Tech could help a bit with that. But in the end, everyone trying to buy a ticket actually wants to go to the festival)