A general framework to link theory and empirics in opinion formation models | Synapse