public function objectTag($oldFields = [])
    {
        /** @var \yii\db\ActiveRecord $this */
        $primaryKey = null;
        if (count($this->primaryKey()) === 1)
        {
            $key = $this->primaryKey()[0];
            $primaryKey = isset($oldFields[$key]) ? $oldFields[$key] : $this->$key;
        } else {
            $primaryKey = [];
            foreach ($this->primaryKey() as $key)
            {
                $primaryKey[$key] = isset($oldFields[$key]) ? $oldFields[$key] : $this->$key;
            }
        }
        return NamingHelper::getObjectTag($this->className(), $primaryKey);
    }