tagging dictionary data
<p>I would like to do something equivalent to "tagging" a dictionary element.</p>

<p>Here is some pseudo-code to illustrate the idea:</p>

<pre><code>mydict = dict()
mydict['thiskey'] = 'myvalue'
#then i would like to do this:
mydict['thiskey'].tag = 1
</code></pre>

<p>is there anything like this?
or maybe i could just append to the value somehow?
but i would need to know how to still access the original value...</p>
