stack_id_t to stack_id