code: def _PrintAPFSVolumeIdentifiersOverview(
        self, volume_system, volume_identifiers):
      
      header = 'The following Apple File System (APFS) volumes were found:\n'
      self._output_writer.Write(header)
  
      column_names = ['Identifier', 'Name']
      table_view = views.CLITabularTableView(column_names=column_names)
  
      for volume_identifier in volume_identifiers:
        volume = volume_system.GetVolumeByIdentifier(volume_identifier)
        if not volume:
          raise errors.SourceScannerError(
              'Volume missing for identifier: {0:s}.'.format(
                  volume_identifier))
  
        volume_attribute = volume.GetAttribute('name')
        table_view.AddRow([volume.identifier, volume_attribute.value])
  
      self._output_writer.Write('\n')
      table_view.Write(self._output_writer)
      self._output_writer.Write('\n')
docs: Prints an overview of APFS volume identifiers.
  
      Args:
        volume_system (dfvfs.APFSVolumeSystem): volume system.
        volume_identifiers (list[str]): allowed volume identifiers.
  
      Raises:
        SourceScannerError: if a volume cannot be resolved from the volume
            identifier.