Add id_ to node attributes.