Refactored device ID validity checks
Refactored device ID validity checks

Countly/countly-sdk-ios,erkanyildiz/countly-sdk-ios,erkanyildiz/countly-sdk-ios,Countly/countly-sdk-ios,erkanyildiz/countly-sdk-ios,Countly/countly-sdk-ios