only use uniqueIdentifier when supported

applying fixes from https://github.com/OneBusAway/onebusaway-iphone/pull/141 to develop branch