Mechanisms of host plant selection