Hi all Data Miners

I just woundering how to select the best (highest) confidence and write it into a extra attribute.
For example: I have calculated the confidences for 4 products, to be a member of an cluster. Everything is well done, but how can i write the attributename with the highest value into a additional attribute?

Thank you for your time

Sticker
To be honest: This sounds easier than it actually is.