prefix generation based on namespace hash (one namespace has the same prefix for every client)