This will be based on the first sphere paired at a given site. So IF FIRST SPHERE AT SITEID 123 ASSIGN master_node_id in the sites table