Add PatternType for PatternField.