protected String getClientId(Client client) {
        return client.getApiKey();
    }
Generates a valid document ID for the client - used to index the client in ES.
@param client the client
@return a client id
gateway/engine/es/src/main/java/io/apiman/gateway/engine/es/EsRegistry.java