ENH: Add SendCommandWithQueryID(const char* command) function to handle query ID.