Added port as id for the node.