Create a data file, maybe csv or json or similar, that has the in-game name of each item or fluid or recipe, and the badge code, and then the mod adds id_badge for all of them.
I should have taken the time to see how you implemented it for vanilla, instead of stopping with, "I know how to add ib_badge to all the prototypes!" Ah, well, too late now. I'm not reformatting 700 lines in the SeaBlock item and fluids tables. Thanks!