title: Add Xml Attribute to string property
body: <p>I have a custom object which has a string property called 'Name' I'd like to keep the XML generated by serialization the same but add an attribute to the element called 'NiceName' with a value of 'Full name'.</p>
  
  <p>This is what i have currently:</p>
  
  <pre><code>&lt;TheObject&gt;
    &lt;Name&gt;mr nobody&lt;/Name&gt;
  &lt;/TheObject&gt;
  </code></pre>
  
  <p>This is what i would like to generate:</p>
  
  <pre><code>&lt;TheObject&gt;
    &lt;Name NiceName='Full name'&gt;mr nobody&lt;/Name&gt;
  &lt;/TheObject&gt;
  </code></pre>
  
  <p>I only need this for some XSLT so i don't want to change the way the class works if possible. I.E. Changing name from string to a custom class. All objects will have the same attribute it will never change it is going to be totally read only.</p>