Added a check for null valies in MongoIdStrategy.
Merge pull request #4 from sydnerdrage/bugfix/nullid

Added a check for null values in MongoIdStrategy.