code: public function getDisplayNameAttribute()
      {
          if ($this->hasObject) return $this->object->displayName;
          return isset($this->itemName)
              ? $this->attributes[$this->itemName]
              : (array_key_exists('name', $this->attributes)
                  ? $this->attributes['name']
                  : ''
              );
      }
docs: Returns item name.
  
  @return string