public function createAttribute($attribute, $value, $sync = true)
    {
        if (
            $this->exists &&
            $this->query->getConnection()->modAdd($this->getDn(), [$attribute => $value])
        ) {
            if ($sync) {
                $this->syncRaw();
            }

            return true;
        }

        return false;
    }