CORE-2054 Add new "definition" column attribute to differentiate between an actual column name and a function as a column

Don't include not-applicable attributes in generated createIndex statements