We should check if the object respond to `:id` instead of returning the `quoted_id`