Add dimension.accessor(record) utility function

Allows us to extract the value returned by the dimension's value-accessor without exposing the accessor function itself outside the scope of the dimension.