title: Dynamically set Label's "id" property
body: <p>I'm developing an application for SailfishOS using the QML language.
  I want to dynamically set the <code>id</code> property of a Label by using an <code>if</code> condition.</p>
  
  <p>This is my code:</p>
  
  <pre><code>    Label {
          id: {
              if(myBool == false) {
                  thisText()
              } else {
                  notThatText()
              }
          }
          width: parent.width
          horizontalAlignment: Text.AlignRight
          text: ""
          font.pixelSize: Theme.fontSizeLarge
      }
  </code></pre>
  
  <p>This code is placed into my <code>CoverPage.qml</code> file, the one that display things on the application's cover while in background.
  By doing this, the cover is simply black, nothing is displayed.</p>
  
  <p>Is it possible in QML to do this?</p>
  
  <p>Thanks in advance!</p>