Added "respondsToSelector" check to avoid crash if identifierForVendor not available (eg, pre-ios-5)