Improved str_is_udid