Refined recursive persistence and map model id directly to mongodb id.