port id to variable