[client][managed][offline] rename queryKey to queryId