Move them to a new Library using 'copy to Library'.
But who cares what the library id is (except the Current Library

). {ID} is solely for Calibre's (internal) bookkeeping
IF
you were asking about IDENTIFIERS,
You be able to clear them
by type using the search and replace tab of bulk metadata edit