lets allow mappings without terms. easier caching.
split id generation for mapping
correction in term cardinality for mapping.
mapping API skeleton
a TODO note for replacement
mapping API reuses TermMapping in different mappings