Apply default value when attribute is created