Reads data of representation items from a specified input stream, creates representation items, and creates an array of its identifiers.