Can't get id of object prior to save