Set the property name.
obj.setName(name); obj.name = value; value = obj.name;
Note that this feature is available as both a method and a property.