glib2: collect all "static ID" declarations