title: How to add an ID to react-table function?
body: <p>I am trying to use react-table with useRowSelect, based on the <a href="https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/row-selection" rel="nofollow noreferrer">tutorial</a>.
  I have a REST app running at <code>/associate</code> but can't work out how to get the <code>"selectedFlatRows[].original"</code> data out of the table.  Having two tables in one form also complicates things.</p>
  
  <pre><code>function App() {
    //...
  
    function handleSubmit(event) {
      event.preventDefault();
      const data = new FormData(event.target);
  
      fetch('/associate', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        },
        body: data,
      });
    }
  
    return (
      &lt;form onSubmit={handleSubmit}&gt;
        &lt;Styles&gt;
          &lt;Table columns={tcsColumns} data={tcsList} /&gt;
          &lt;Table columns={planColumns} data={planList} /&gt;
          &lt;br /&gt;
          &lt;button&gt;Associate!&lt;/button&gt;
        &lt;/Styles&gt;
      &lt;/form&gt;
    );
  }
  </code></pre>
  
  <p>How do I access my two tables' data?</p>