The `id` should be added to the array of attributes.