make attribute id independent of System.identityHashcode, which is not reliable in all JVMs