This check is important. You can't add a label to a node that has no id.