Normally, when I need to access the value for a CCK field in a node template, I'll use something like $node->field_fieldname[0]['view']

For "Text" fields using the "Check boxes/radio-buttons" widget, this gives the field label. How can I get the field key instead?

I'm using the words key and label as used in the "Allowed Values" fieldset, e.g.

key1|label1
key2|label2
key3|label3