Use an object's `config_name` if it's present.