title: get attribute values from string key
body: <p>Hi i need to obtain the value of attribute of a model by passing the name of attribute like string.</p>
  
  <p>ex</p>
  
  <p>model["ModelID"]</p>
  
  <p>is there any method for this?</p>
  
  <p>thanks</p>