renamed id, parentid member vars and accessors