change paircmp_value et al to pairdata_cmp

Will help simplify multivalued attribute comparison later