Use res_id in ivs service.

This is to be consistent with mws.