Currently the id handling is a bit inconsistent (see #21) and cumbersome to work with (it requires doing model._id.toString() for comparisons). It would be good to hide implementation details and perhaps providing a way to set related models as fields that will be converted to its ids upon serialization.