Text this: Ab initio determination of substituent constants in a density functional theory formalism