core: add function to get CPU id/serial number

See RIOT-OS/thirdparty_cpu#19 for real world example.
But there is nothing to expect, since the whole idea is, that the ID is somewhat random but fixed for every device. I could expect, that it is not 0xfffffffff or 0x000000000 but even the length is dependend on the device type you use.