Instead of pre-generating the toString value it should be lazily initialized the first time toString is called on NaturalIdCacheKey.