Add a hook on how to extend identifier types (Issue #40)

Is discussed in Issue #40 it would be good to specify some extension points, so not-supported extensions can be recognized and rejected.