Add the equality concept to attr_value

It would be nice to have some kind of equality based on the defined attributes, specially for the attr_value.