assignment_id = params.model.get('assignment_id')
You don't know if we don't have a custom toJSON() and shouldn't rely on that.