title: How do you create an incremental ID in a Python Class
body: <p>I would like to create a unique ID for each object I created - here's the class:</p>
  
  <pre><code>class resource_cl :
      def __init__(self, Name, Position, Type, Active):
          self.Name = Name
          self.Position = Position
          self.Type = Type
          self.Active = Active
  </code></pre>
  
  <p>I would like to have a self.ID that auto increments everytime I create a new reference to the class, such as:</p>
  
  <pre><code>resources = []
  resources.append(resource_cl('Sam Sneed', 'Programmer', 'full time', True))
  </code></pre>
  
  <p>I know I can reference resource_cl, but I'm not sure how to proceed from there...</p>