This way the name and icon can be geometry-specific.
Previous implementation was linear in the number of presets. This should be near constant time.