@classmethod
def get__by__id(cls, dbSession, id, id_column='id'):
    """classmethod. gets an item by an id column named 'id'.  id column can be overriden"""
    if not hasattr(cls, id_column) and hasattr(cls, '__table_pkey__'):
        id_column = cls.__table_pkey__
    id_col = getattr(cls, id_column)
    if isinstance(id, (list, tuple)):
        return dbSession.query(cls).filter(id_col.in_(id)).all()
    else:
        id_dict = {id_column: id}
        return dbSession.query(cls).filter_by(**id_dict).first()
