Debugged generate_fids.cxx example to work with changes to library.