there are parameters
    --hostgroup-id HOSTGROUP_ID   id of nested hostgroup
    --id ID                       resource id
and id is built-in function in Python, so I named it hg_id, do you have better idea?