title: How to get an object identifier in fabricjs?
body: <p>How to get an object identifier in fabricjs?
  For example</p>
  
  <pre><code>var text = new fabric.IText('hello world', { left: mouse1X, top: mouse1Y });
  
  ID = text.get???
  </code></pre>
  
  <p>This identifier should be present in</p>
  
  <pre><code>JSON.stringify(canvas) 
  canvas.loadFromJSON() 
  </code></pre>
  
  <p>identifier should be present in the JSON.stringify(canvas) canvas.loadFromJSON() </p>