title: How can I pass a String to name an object?
body: <p>I need to create a number of objects to populate an ArrayList. These objects need to be uniquely identified. I was hoping to let the user name the objects. When I go to pass the reference variable of the String to name the object, it is not allowed.</p>
  
  <pre><code>String input;
  Object { input } = new Object();
  arrayList.addObject( { input } );
  </code></pre>
  
  <p>If there is no way to dynamically name objects, how might I go about creating these objects?</p>