Make sure we don't call 'uniqueIdentifier' unless checking if the object in question actually supports that selector.