Revert "added a deepCopy method to AttributesWithId"

This reverts commit d89483fffae37ffe3cca1c926060a16f98abeeb6.