A simple profiling mechanism, based on per-position context creation frequencies.

This suffers from always paying the profiling overhead, but a single hash-table insert
should be relatively tame, in context..