title: I want to create IdName property like className in Javascript
body: <p>I am new in JS and 
  I want to add Id to any tag using idName that I create. </p>
  
  <pre><code>var x= Element;
  x.prototype.idName= function(value){ this.id= value}
  </code></pre>
  
  <p>This works, but I want to write like className</p>
  
  <p>Example:</p>
  
  <pre><code>this.className= "class value"
  </code></pre>
  
  <p>I want:</p>
  
  <pre><code>this.idName= "id value"
  </code></pre>
  
  <p>How can I do it ?</p>