Seems like there's a relatively simple solution for this: allow airline tickets to be resold.
Apart from the fact that this restriction massively benefits airlines, I've never understood why it's not allowed. No matter what, you still have to go through security and present your ID there, so the additional security benefit of knowing a traveler's identity at the time of purchase seems pretty marginal.