title: PDO Query on joined tables when column names are the same
body: <p>I'm running a query via PDO on a pair of joined tables like so:</p>
  
  <pre><code>SELECT table1.id, table2.id, table1.foo, table1.bar 
  FROM table1 INNER JOIN table2 ON table1.bar = table2.id;
  </code></pre>
  
  <p>Both tables have an <code>id</code> column so when I run <code>fetchAll()</code> the associative array only contains one <code>id</code> field. This is because the first is overwritten by the second.</p>
  
  <p>Is there a way to obtain both <code>id</code> fields? Perhaps by having the table name included in the array keys...</p>