title: Is there a way to get to a component with it's id in string format in qml?
body: <p>In a function in the javascript's qml i have the the id of a component.
  This is a simple example of what i'm trying to do:</p>
  
  <pre><code>function teste(val) {
      var elem = "objectId"
      var objectThatINeed = submenu1.findObjectById(elem)
      objectThatINeed.someValueIWantToChange = val
  }
  </code></pre>
  
  <p>The function <code>findObjectById</code> does not exist, it's just to illustrate what i want to do. </p>
  
  <p>I want to get a reference to that object (and no i dont want to access it directly like <code>objectId.someValueIWantToChange = val</code>) and then change a property.</p>
  
  <p>If <code>id</code> is not acceptable another property i see that can be used is objectName, or even a custom property...</p>
  
  <p>How can something like this be done?</p>