Allow duplicate module items to be signalled
Generalise duplicate detection
Test for duplicate module names