A possible relation between the spin of hadrons and their isospin, strangeness and charm