In ancient Rome, slaves were trained to memorize the names of voters who might be persuaded to vote for their master, so that he could find and greet them personally. These days, the strategy behind personal targeting comes from computer models that can slice the electorate into highly specific groups. Messaging is honed using extensive A/B testing.