Removed id generator for reference equality (primarily used for debugging)