Added dict_attrbytype(attr, vendor, type)

for dealing with combo-ip attributes
Clarify decoding code