input: Write a Python class for an online store item that includes fields for ID, name, price, and description. The class should include methods for printing the item's name and price, and for converting the item to a dictionary format.
  
  class StoreItem:
      def __init__(self, item_id, name, price, description):
          self.item_id = item_id
          self.name = name
          self.price = price
          self.description = description
  
      def __str__(self):
          return f'{self.name}, ${self.price}'
  
      def to_dict(self):
          return {
              'item_id': self.item_id,
              'name': self.name,
              'price': self.price,
              'description': self.description
          }
  
  # Test cases
  item1 = StoreItem(1, "Laptop", 999.99, "High-performance laptop")
  item2 = StoreItem(2, "Smartphone", 499.99, "Latest model smartphone")
  
  assert str(item1) == "Laptop, $999.99"
  assert str(item2) == "Smartphone, $499.99"
  assert item1.to_dict() == {'item_id': 1, 'name': 'Laptop', 'price': 999.99, 'description': 'High-performance laptop'}
  assert item2.to_dict() == {'item_id': 2, 'name': 'Smartphone', 'price': 499.99, 'description': 'Latest model smartphone'}
output: 
  class StoreItem:
      def __init__(self, item_id, name, price, description):
          self.item_id = item_id
          self.name = name
          self.price = price
          self.description = description
  
      def __str__(self):
          return f'{self.name}, ${self.price}'
  
      def to_dict(self):
          return {
              'item_id': self.item_id,
              'name': self.name,
              'price': self.price,
              'description': self.description
          }
  