Added function to return the device UID

Sometimes a developer wishes to print the UID to a serial console for debugging purposes; I have added a function which returns the UID.