I think there is some confusion here.  `NAME` is the YUI module name.  We _do_ expect models to register themselves as `Y.mojito.models[NAME] = ...`.

The "model name" comes from the model's **filename**, so `models/foo.server.js` has a model name of `foo` (but could have a YUI module name of `FooModel` or anything really).

So, the `yuiName` variable really _does_ contain the YUI module name of the model.  This can (and often is) different than the "module name".