CZML entity parents

I am a bit confused by the api for entity parents and what i am seeing from entities created by czml. Entity.parent is defined as an Entity which means that ought to be the value of the parent id however it ends coming across as ID for some reason using cesiumlanguagewriter. I had to change my jsni wrapper for Entity to return === undefined ? this.ID : in order to get the expected behavior.