It was once traditional for everyone living in a Gaelic speaking district to have a local nickname describing his trade or a physical characteristic, e.g. “Donnchadh reamhar, an saor” (Fat Duncan, the Joiner) etc.
Meaning of surname Cockran: Coc, manifest, plain, and rinn, a cape or promontory