Also return a definition as a duplicate if a non-unique and unique definition have the same name.