Added UDID utility function

Signed-off-by: Keith Byrne <timbyr@gmail.com>