rename `id` to `name`, make it persistent with names in IR