add missing ids automatically to plugins