That would make sense if they were checking your passport/photo against the record they held for you. Be fairly easy to flag up people of interest.
You might want to read about the e-Boarders programme. Over the next year most carriers are going to be forced to collect information about passengers to/from the UK even before they travel (like Spain, etc does now) and your travel history will be kept for up to 10 years.