Hierarchy of modular graph identities