make inheritable_attr flow a bit more explicit and save the lookup in superclass if the value was already inherited.