title: Get Module ID or Title
body: <p>I' am using Joomla 3, I have module called "<strong>Who we Are</strong>" and it's being displayed on position "<strong>top_row2</strong>". I' am trying to get this modules ID and modules Name.</p>
  
  <p>After Searching I found few solutions which doesn't seem to work for me.</p>
  
  <p><strong>Solution 1</strong></p>
  
  <pre><code>jimport( 'joomla.application.module.helper' );
  $module = JModuleHelper::getModule('Who we Are');
  echo $module-&gt;id;
  </code></pre>
  
  <p><strong>Solution 2</strong></p>
  
  <pre><code>jimport( 'joomla.application.module.helper' );
  $module = JModuleHelper::getModules('Who we Are');
  echo $module-&gt;id;
  //Note the "s" in getModules
  </code></pre>
  
  <p><strong>Solution 3</strong></p>
  
  <pre><code>    global $module;
      $module-&gt;id;
      $module-&gt;title;
  </code></pre>
  
  <p>I' am using this solutions on the override PHP files of this Module.</p>
  
  <p><strong>Location::</strong> templates\corporate_response\html\mod_mymodule_item.php</p>