check for duplicate ids and bring plugins into compliance