Added id fields to node and net classes