minor adaptions to Id and IdImpl. Had to relax some tests in equals and compareTo for the moment for backwards compatibility where old IdImpl and new Id are mixed
Authored by: mrieser 2014-09-02
Parent: [r29969]
Child: [r29971]