Added option for different type of `_id`