Follow up to 828f78322b12b42a11bb7974777010076e5b8753
* Only checks item names of items with new ids.
* Fixes warnings on import itemdb overwrites.
* Note: The duplicate name check should be refactored after the Cpp
migration. It'd be much faster with a C++ map with the
name string as the key.
* Thanks to @Daegaladh!