That piece is a little bitchy, it tries to accomplish most of the magic inside [this](https://github.com/bar/cakephp/commit/b4197dfba521e6a5af77665dbed100b51913c143) very commit.

Take a look at the tests.

I'm trying to make ```'title'``` and ```'Article.title'``` build the same ```cache key``` when quoted. For that, it is necessary to practically completely process ```$fields``` before building the key.

If I can do it in a smooth way, those lines will be better handled inside a function.