Booking reference number

when customer makes a reservation it would make sense to give a booking reference number for the customer that could then use it for identification on arrival either to enable fast order recovery but also to enable pickup in case if there is some form of automation in use for pickups...