Perhaps, in order to get around the limitation of tracking player names, give gravity modules a radius in which to work?
Or, even better, give players the ability to define an area in which a gravity generator will work. You use logic to toggle a gravity generator that is set to have an area of...