To retrieve the NCES ID of a school point object or an attendance zone object, join the Objects table to the Primary Attributes table using OBJ_ID. This join will return NCES school ID, NCES district ID, as well as other attributes.
The process for retrieving the NCES ID of a school district object is the same as described above, except that the school districts Objects table would be used.