The name detection is based on filenames and happens in Formula.factory.

Adam has some work in progress on "resources" that would eliminate this.