Write active pattern names in the canonical way