Looks like you wanted to actually use "counter" as a variable in the xpath string:
browser.GetAttribute("xpath=//table[@id='tblPassengers']/tbody/tr[" + counter + "]@id");
As it stands now, you tell the XPath engine to use some "counter" HTML element as index to the TRs, which obviously won't work.