Allow mapping library IDs to the library primary key