code: public function getFieldName($attributeName)
      {
          if (isset($this->model_attributes[$attributeName]['field'])) {
              return $this->model_attributes[$attributeName]['field'];
          }
          return $attributeName;
      }
docs: By default, an attribute is stored in a DB field with matching name.
  So lastModified would be stored in a column named lastModified.
  However, there may be situations where a developer wants the attribute name
  in the model to be different than the DB. I.E. lastModified => last_modified.
  
  This method, when given an attribute on the model, should read the model definition
  and return the field name in the DB.