How to read Arduino Due Core ID from Arduino IDE

I found through my SAM-ICE JTAG that my Arduino Due's SAM3X8E MCU core ID is 0x2BA01477 which is a unique id. I was trying to find information about what register contains that ID but I didn't have any luck yet. May be is a question for Atmel's or Segger tech sup. I was thinking to read that ID from the Arduino IDE. Any clues?