Your example by passes again the interesting part on how to pass information into the shard id provider.