Add a checker that throws warnings about duplicate ids.
Add a checker that throws warnings about duplicate ids.