Each flight reservation comes with a unique and 100% valid reservation code called PNR (Passenger Name Record). Read here.