title: Get the ID of the currently executing CPU on M1
body: <p>Is there a way to get a unique ID for the core that is executing the current thread?</p>
  <p>On OSX x86, the <code>cpuid</code> CPU instruction <a href="https://stackoverflow.com/q/33745364/149138">could be used</a> but that doesn't work on Apple Silicon like the M1 which is based on ARMv8.</p>