code: func (id *ObjectId) UnmarshalText(data []byte) error { // validation is performed later on
  	*id = ObjectId(bson.ObjectIdHex(string(data)))
  	return nil
  }
docs: // UnmarshalText hydrates this instance from text