/**
  * Verifies field name
  * 
  * @param string $fieldName
  * @return afResponse
  */
 public function modelFieldVerification($field)
 {
     $fieldName = $field->name;
     $response = afResponseHelper::create();
     if (!afStudioModelCommandHelper::isValidName($fieldName)) {
         return $response->success(false)->message("Field name '{$fieldName}' is not valid. Field name must contains only characters, digits or '_' and starts from '_' or character");
     }
     if (!$this->isFieldNameUnique($fieldName)) {
         return $response->success(false)->message("Field name '{$fieldName}' is duplicated");
     }
     if (!empty($field->relation) || !empty($field->foreignTable)) {
         $foreign_table = !empty($field->relation) ? current(explode('.', $field->relation)) : $field->foreignTable;
         $foreign_model = $this->getTableNameByModel($foreign_table);
         if (strtolower($field->name) == strtolower($foreign_model)) {
             return $response->success(false)->message("Field name shouldn't be same with model from foreign table. Please choose another name.");
         }
     }
     return $response->success(true);
 }