code: private String generateId() {
  
          m_count++;
          String id = "generic_id" + m_count;
          while (m_entities.containsKey(id)) {
              m_count++;
              id = "generic_id" + m_count;
          }
          return id;
      }
docs: Generates a new entity id.<p>
  
  @return the generated id