Raise an exception when adding a duplicate impact function name.