public static function getNameFromArray(array $properties)
    {
        if (!Helpers::isKeyExists($properties, 'name')
            || empty($fieldName = Helpers::removeNonEnglishChars($properties['name']))
        ) {
            throw new Exception("The field 'name' was not provided!");
        }

        return $fieldName;
    }