public function getFieldNameByBaseType($base_type)
    {
        $this->getTableInfo();
        $field = null;
        if (isset($this['fields'])) {
            if (isset($this['fields'][$base_type])) {
                $field = $base_type;
            }
            foreach ($this['fields'] as $v) {
                if (isset($v['base_type']) && $v['base_type'] == $base_type) {
                    $field = $v['field_name'];
                    break;
                }
            }
        }
        
        return $field;
    }