tag2hashindex
static uint16_t tag2hashindex(const struct pf_tagset *, uint16_t);
index = tag2hashindex(ts, new_tagid);
index = tag2hashindex(ts, tag);