title: Reference PHP array by multiple indexes
body: <p>This may be some sort of weird longer shortcut, and please correct me if I'm mistaken in this train of thought... </p>
  
  <p>I have a matrix of data that looks like:</p>
  
  <pre><code>unique_id | url | other random data...
  unique_id | url | other random data...
  unique_id | url | other random data...
  </code></pre>
  
  <p>I want to be able to reference an item by either it's url, or it's unique_id - is there a fancy way to do this? </p>
  
  <p>I suppose the cheating solution would be to just make two arrays, but I was wondering if there is a better way. </p>