Initial code review of current code base

should this be selection == self.STANDARD_ID instead?  Same for the rest of them