added a deepCopy method to AttributesWithId
Revert "added a deepCopy method to AttributesWithId"

This reverts commit d89483fffae37ffe3cca1c926060a16f98abeeb6.
add typed id wrappers for safety in java
make wrapper serializable
implement comparable for wrappers
add equals and hashcode
store primitive internally
add @Overrides
copyright and whitespace
move ids to inner class, cache typedId
delete classes
formatting
remove unecessary generic