public function prepareEntity($attributes)
    {
        $this->fieldAliases  = [];
        $attributes['class'] = $attributes['name'];
        $attributes['name']  = preg_replace('~^.*?(\w+)$~', '\1', $attributes['class']);
        $this->prefix        = 'COM_' . strtoupper($attributes['name']) . '_FIELD_';

        return $attributes;
    }