HSEARCH-472 Create a base template to help implementors of ShardIdentifierProvider