Clean up use of conventions trait in bake tasks.

* Consolidate and expand use of ConventionsTrait in console classes.
* Add method for entity name generation.