getUniqueQueryIdentifier
Use the hashcode of qualifiedQueryName to generate the unique identifier id for queries. Detect the hashcode collision by caching the generated identifiers. Runtime exception will be thrown when collision happens. Client would need to give a different query name to avoid the collision.