fix a bug with double calls to id setters
id-Getter didn't use newly set ids / objects before object was saved