Fix inflection when baking models.

Refs #5428
Merge pull request #5488 from cakephp/issue-5428

Fix inflection when baking models.