As we discussed offline, this won't work if `id` is anything other than a number or string.