change `id` option to `name` for constructor name.