code: function toSQLName(input) {
    return !input || _.isObject(input) || _.isArray(input) || _.isNaN(input) ? undefined :
      input.toString().toLowerCase()
        .replace(/\W+/g, " ")
        .trim()
        .replace(/\s+/g, "_")
        .replace(/_+/g, "_")
        .substring(0, 64);
  }
docs: Make into a standardize name for SQL tables or columns