realizeConst
withDeclNameForAuxNaming
This PR lets `realizeConst` use `withDeclNameForAuxNaming` so that auxilary definitions created there get non-clashing names.