Added ID conflict detection

Crashing is better than items overwriting other items and not telling
you, or at least I think so.