Transform now accepts symbol in addition to string.

Fixes the `ArgumentError` raised by this gist: https://gist.github.com/mohawkjohn/11053241