split main compare function (check_library_identity_brd) for brd files into several general functions...