Do not assume that toString() for an entity has not been overwritten.
Merge pull request #96 from markuspfeiffer/entityCacheKey

Do not assume that toString() for an entity has not been overwritten.