Only call identifierForVendor if available

To support iOS versions prior to 6.0, `identifierForVendor` should only be accessed when available.