title: loadByEmail and load method issue in Magento in Customer Model
body: <p>i getting error while i am try to use get Entity Id (getEntityId()) Method in customer/customer model object.</p>
  
  <p>Please check my bellow's code.</p>
  
  <p>I want to use bellow's code. But its showing error.</p>
  
  <pre><code>$customer = Mage::getModel("customer/customer"); 
  $customer-&gt;setWebsiteId(Mage::app()-&gt;getWebsite()-&gt;getId());
  $customer-&gt;loadByEmail('email@example.com'); //load customer by email id
  </code></pre>
  
  <p>While bellow's code is working fine. with getEntityId()</p>
  
  <pre><code>$id=3;
  $customer = Mage::getModel('customer/customer')-&gt;load($id);
  </code></pre>
  
  <p>So Please give solution for loadByEmail() method.</p>