Previously, tooltip templates were identified using the group's name in their `id` attributes. This change uses the group's ID instead, which is more reliable.