Planets or asteroids? A geochemical method to constrain the masses of White Dwarf pollutants