add ids to all world entities