public function pk($table = NULL) { if ($table) { if ($table === TRUE) { $table = $this->_table; } return $table . '.' . $this->_primary_key; } return $this->_primary_key; }