Allow the id(s) to be redefined by subclass
Use for-in loop to support properties from the super class