newid should be an unsigned int...fixes nodeid issues for devices with last 4 bytes of MAC addresses greater than 0x7FFFFFFF