modularize id pending work event handling and bib item event handling somewhat.