properties that have a name ending in 'Id' or 'Ids' must be treated as a reference property: the check for properties that need indexes created was happening too early.
TO_DAN: bugs that need fixing : did not follow the only-do-it-in-one-place rule. as an exercise figure out the right answer.
add debugger to make it easier to clean up the last bad uses of a function
Merge remote-tracking branch 'refs/remotes/origin/master'
fix bad git merge
Merge remote-tracking branch 'refs/remotes/origin/master'