Taylor Swift has urged her fans to show "kind and gentleness" online and not to lash out at the people they think she has written songs about.