Ok, agreed.
I'll merged your pach but also add the new default implementation to the org.hibernate.search.store.ShardIdentifierProviderTemplate: it might be an experimental API, but still let's try to not break it in a minor.