Unify lists of dimension names if there are any in common
unify_rpd(rpd)
rpd
A list of strings (dimension names).