With the sheer quality imbalance between perks, that many perks needing to be paired for sensible use (wood chopper+shield breaker for example), and inability to know a potential companion's perks before they join makes it rather annoying for companion's perks to be randomly assigned. The easy way to fix this is simply to make all perks unassigned when a companion joins. Could potentially expand it to spouses as well.