node label contains class and id if available