DATAMONGO-806 - Problems referencing a synthetic property in grouping.

Referencing the id property yields "null" in group aggreation. 
Added test case to reproduce the issue.