Support for @named(name) decorator.

The decorator allows the component name to be specified at creation time instead of registration.