Added code to check that the leading digits of book barcode are as set in the settings.php file.