Teenagers who know who they are and what they believe are more likely to resist pressure.