followup - make barcode_to_borrowernumber an internal function