The controller is responsible to handle NodeIDs. If you don't have a controller, you must hardcode sensorIDs at the gw.begin, like you did. Gateway is node 0 and nodes should have different IDs ranging from 1 to 254. Once you do like that, you should see your gateway receiving data from nodes.