Relativistic model of the anyon