title: Lodash / Javascript - how to find unique keys nested inside objects
body: <p>I'm trying to go through a large object of data, say of the form:</p>
  
  <pre><code>{
   data1: {
       keyA: 'AValue',
       keyB: 'BValue',
       id: 'UniqueID1'
     },
   data2: {
       keyA: 'AValue',
       keyB: 'BValue',
       id: 'UniqueID2'
     },
   data3: {
       keyA: 'AValue',
       keyB: 'BValue',
       id: 'UniqueID1'
     },
   data4: {
       keyA: 'AValue',
       keyB: 'BValue',
       id: 'UniqueID2'
     }
  }
  </code></pre>
  
  <p>Is there a method to go through this object and return to me the unique values for 'id'? E.g I would like to end up with the values</p>
  
  <pre><code>UniqueID1, UniqueID2,
  </code></pre>
  
  <p>either in an array or an object, it wouldn't matter.
  Any help on this would be very much appreciated. Thanks.</p>