Allow custom measure assignment function.
Allow custom measure assignment function.

freeman-lab/datalib,jonasagx/datalib,mathisonian/datalib,mathisonian/datalib,vega/datalib,jonasagx/datalib,sandbox/datalib,sandbox/datalib,freeman-lab/datalib,vega/datalib