If the name is given (rather than, say, computed) update it so that it's the data type name being defined - so ambiguities are resolved immediately. Fixes #192