improve pattern support

it is now possible to address specific units using a '<index>:<key>'
format. I.e. '0:freq' sets the freq of the first unit. The unit
specific args will overwrite the normal ones if they are there.