Cleaned: IdGenerator, @beckrefs, useless variables in AssociationManager