added tool_labels_to_ids