Add a method called IndexOfName that can be used to find the position of an element in a BsonDocument.
For example:
var idIndex = document.IndexOfName("_id");