Make sure the module name are unique.

Never generate the same module name (multi_name) as this is quite confusing
for users. To do so we just check that the generated module name is not
already used.