Reads information about an array of materials from a .prc file stream and returns the identifiers array for created material entities.