[PATCH v2 8/8] autocompletion: use hids instead of ids