returning the actual id if a _id field is present on T