function compileNameFilter(name) {
				if (name) {
					name = name.toLowerCase();

					return function(item) {
						return name === '*' || item.type === name;
					};
				}
			}
Constructs a new Selector instance.

@constructor
@method init
@param {String} selector CSS like selector expression.