ELAINE C. Smith doesn’t have to think for more than a nano second when considering whether you’re never more than six feet away from a Glasgow gangster at any one time?

“I lived around the corner from Tam McGraw," she says of the late drug trafficker, once worth £10m and often described as ‘The Licensee’, or the less delicate soubriquet, ‘One Baw McGraw.’

“He lived in Mount Vernon too. It’s the typical journey of the gangster; move out of the housing scheme and into middle class respectability.”

It’s perhaps a slightly unusual question to throw at Smith, Scotland’s Queen of Comedy and panto star.

Read more: Clive Anderson and Brian Clough's punch to the stomach

But it’s apposite; this week the actress is appearing at Glasgow’s Oran Mor theatre in Ida Tamson.

Denise Mina’s tale tells of Ida, the ex-wife of gangster Hogg, a man very much in the McGraw mould.

This middle-aged wife of the gangland drugs boss, we learn, has rejected her husband’s ill-gotten wealth, and has opted out of the Mount Vernon tennis court cosyness and instead lives in a single-end council flat in Barlanark.

Ida’s life now is focused on her two small grandsons, the children of a daughter who has herself become a tragic victim of drugs.

But despite coming to reject the evil which Hogg represents, Ida is nonetheless regarded by local women as being toxic; she’ll be forever seen as a gangster’s moll, a woman who has helped incubate evil.

Ida wants to put the record straight and decides to tell her life story.

Director Lesley Hart explains; “That’s where Janine (Joy McAvoy) comes in. She’s an ambitious, talented young journalist who is working for a downmarket magazine but sees herself one day working for the Guardian. She wants to tell Ida’s story.”

Read more: Communities get set to host Glasgow theatre hit Low Pay? Don’t Pay!

But both Ida and Janine have their own agenda. They each have their own truth. And as questions are asked and answers argued, a contest develops, allowing for themes of atonement, motherhood, female solidarity and morality to emerge.

But what of this connection between seemingly intelligent women and gangsters – the Babs Windsor/Princess Margaret syndrome?

Since gangsters were invented there have always been women ready to step into a pair of expensive high-heeled shoes and play the roll of The Moll.

“It’s about power,” says Smith, with a wry smile. “I know of this correlation between power and sex because I once made a documentary with ex-murderer and Barlinnie prisoner Hugh Collins.

“Collins told me about the gangster life and the women who are drawn to them and he explained to me that the further up the pecking order you go, the more attractive to women you are. They get turned on by this power.

“What he also told me, and this was fascinating, was that the violence also fuelled his own sex drive.

Read more: 'Once A Gunner, Always A Gunner': Volunteers to attend funeral of military veteran with 'no family'

“He revealed that when he gave up violence and married he was actually impotent for a year. It illustrates this absolute link for some people, between power, violence and sex.”

Has Smith ever felt a little drawn to the darkness? The actress, who currently stars in BBC Scotland’s hit comedy Two Doors Down, smiles.

“I have to admit that when I was young I was attracted to bad boys. Not the evil bad, the slightly dangerous. In fact I married one.

“My husband Bob, was part of a dangerous world. He grew up in the Calton in the East End of Glasgow , and once had a meat cleaver through his ear and a severed artery. His pal Alec had a machete stuck in the back of his skull. This was a world of murders. It was all so common.”

Ida Tamson, Denise Mina’s first play, was written 13 years ago. But it’s theme of lost lives and shifting loyalties and despair is still entirely relevant today.

Drugs are even more prevalent, all the more a major currency. “That’s true,” says Smith. “And while education used to be a bridge out of that world, that doesn’t seem to be the case nowadays.”

Read more: Morrisons bans plastic packaging from fruit and veg

There is another dimension to the play which heightens the drama. We learn, via the journalist, that a young pretender to Hogg’s throne, The Flesher, (played by Paul James Corrigan) is connected to Ida’s daughter.

“He is handsome, funny, and even more dangerous,” says Smith of the young hoodlum. “And he’s so representative of the young criminal who is out there on the streets today.”

There is little doubt the actress is delighted to be reprising her role. “I’m a better actress than I was 13 years ago,” she says, then adding with a smile, “I’m also a granny now. That gives you and added perspective.”

Ida Tamson, Oran Mor, Glasgow, until Saturday.