src/Tao/Database/Model.php
public function getPrimaryKey($bAliased = false)
    {
        return $bAliased
            ? $this->getAlias() . '.' . $this->primaryKey
            : $this->primaryKey;
    }
public function getPrimaryKey($bAliased = false)
    {
        return $bAliased
            ? $this->getAlias() . '.' . $this->primaryKey
            : $this->primaryKey;
    }
public function getPrimaryKey ( $ bAliased = false ) { return $ bAliased ? $ this -> getAlias ( ) . '.' . $ this -> primaryKey : $ this -> primaryKey ; }
Get the table primary key.

@param boolean $bAliased Return or not aliased primary key.
@return string
Get the table primary key .