Reads representation item data from a specified input stream, creates a representation item, and returns its identifier.