Equivalent to g_source_set_name_by_id but avoids the allocations matching g_source_set_static_name().
g_source_set_name_by_id
g_source_set_static_name()