Map id name to _id for ordering