UnionByAttribute plugin is used to perform selective unions based on attribute values.
All the features having a same attribute value are unioned together.
An option can be used to eliminate null or empty attribute values. Useful to merge,
for example, all named rivers, but not unnamed one, even if they are in the same layer.
An other option makes it possible to total numeric fields of unioned features.