tap: move the api msg_id_base to tap_main_t