duplicatePeerIdDeclarationIsHonest

Cross-check the duplicate declaration against its injection hook.