Triggers calculation of shortname on creation or edit