title: Ember.js (1.2.0): get id into contained field
body: <p>I have a scenario where a contained view is rendered and I need to get the id specified in the outermost view and set it in the contained view.</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;script type="text/x-handlebars" data-template-name="application"&gt;
      {{outlet}}
  &lt;/script&gt;
  &lt;script type="text/x-handlebars" data-template-name="index"&gt;
      Contained Ember.TextField(how do I get id ? ):
      {{view Controls.ContainedField id="containedField"}}
      &lt;br/&gt;
      Direct Ember.TextField(gets id):
      &lt;div&gt;
      {{view Ember.TextField id="directField"}}
      &lt;/div&gt;
  &lt;/script&gt;
  &lt;script type="text/x-handlebars" data-template-name="FieldContainer"&gt;
      {{view view.ContainedView}}
  &lt;/script&gt;
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>App = Ember.Application.create({});
  
  Controls = Ember.Namespace.create();
  
  Controls.FieldContainer = Ember.View.extend({
      ContainedView: undefined
  })
  
  Controls.ContainedField = Controls.FieldContainer.extend({
      templateName: 'FieldContainer',
      ContainedView: Ember.TextField.extend({})
  })
  
  App.IndexRoute = Ember.Route.extend({});
  </code></pre>
  
  <p>In the <code>ContainedView: Ember.TextField.extend({})</code> I have tried:</p>
  
  <pre><code>ContainedView: Ember.TextField.extend({
      idBinding: 'parentView.id', // this
      elementIdBinding: 'parentView.id', // and this
      init: function() { // and event this
          var id = this.get('parentView.id'); // in order to set on the contained view
      }
  })
  </code></pre>
  
  <p>But for the life of me I cannot get the id for the contained field that was specified in the main handlebars.</p>
  
  <p>Any help will be appreciated.  Here is the jsFiddle illustrating the problem: <a href="http://jsfiddle.net/EbenRoux/Xrb7Y/" rel="nofollow">http://jsfiddle.net/EbenRoux/Xrb7Y/</a></p>