public function setAttribute($ak, $value)
 {
     if (!is_object($ak)) {
         $ak = AttributeFormKey::getByHandle($ak);
     }
     $ak->setAttribute($this, $value);
     // make sure we don't reindex after each attribute
     if ($this->autoIndex) {
         $this->reindex();
     }
 }