Added the ID field (of the shape) to logging.