protected string MakeItemName(string rawName, bool isColumn = true) { Formatter formatter = Config.TableFormatter; if (isColumn) { formatter = Config.ColumnFormatter; } var key = new LowerCamelFormatter().FormatName(rawName, DummyConfiguration); var name = rawName; if (Replacement.ContainsKey(key)) { name = Replacement[key]; } return(formatter.FormatName(name, Config)); }