Attractivity and Hopf bifurcation