There are two ways - via the FA (to follow England), and via ballot (for all matches).
Loyalty 'caps' are awarded for the former (by going to England matches). The latter is random and obviously v v over-subscribed.
Not sure I've ever had ID checked at a major or international match.
As an...