Could we store these IDs on the classes themselves, like we've started doing in the pulp_rpm project?