Genetic control of pathogenic mechanisms in autoimmune demyelinating disease