output the id if the object is already persisted