Added sanity check in setRowId, so if rowId is null when we're done, se
it to empty string, to keep code like "if ($this->rowId === '')" happy.