Automatic assignment of passengers to an aircraft