It is my understanding it is Canadian law to check ID before boarding any fight to/from Canada, plus all domestic flights. This make sure the person on the plane is the same person who was ticketed. In the USA, this is not the case. A non ticketed person can fly on any flight, once they get passed airport security. Other counties are now following the Canadian standard and I hope the USA will start too.