The Police do have far-reaching powers under the fascist "Schedule 7" of the terrorism act 2000 to demand ID of some sort in certain circumstances, but that's not unique to flying.
Reply on news.ycombinator.com