core: check for dup ctor names