reverting change made to prevent id from being null, which would happen for new objects