Adds callback for defining own comparator ID. Fixes #3
Merge pull request #8 from mikaelbr/idCallback

Adds callback for defining own comparator ID. Fixes #3