Ensure unique Node ids.