My personal interpretation is that Cid's mental illness is part of his very soul. It allows him to hyper focus on only the things that interest him and nothing else. Basically Cid is 100% a genius, if you manage to get him to focus on 1 thing, that 1 thing is going to get done in the absolute...