nrf24l01 rf24mesh dynamic node?

I'm currently working on a project where I'll have a bunch of arduinos with nrf24l01's that all connect to one master node. As I was making a miniature test of this to see if it was possible. I noticed a problem. The RF24Mesh library required a node id. This is a problem because I just want to be able to upload the code to the arduino and have it automatically connect to the master node without having to change anything.

I was thinking of setting all the nodes to 255 then when it connects to the master the master sends out a node id that saves into the node's EEPROM and reboots with the new id. But I'm not sure if that would be the best way to go about it.

I'm here to ask if it is possible to have dynamic nodes with a nrf24l01? or some way to accomplish this with an nrf24l01?


Would there be a cheap alternative to the nrf24l01 that could possibly do what I need?