Optimized isEqual:

I read [this NSHipster article](http://nshipster.com/equality/) and
then misremembered what I read. Now it checks for `nil` and then uses
`isEqualToString:` when comparing strings.