ref type to reflect _id type