SMWSql3SmwIds remove wfGetDB usage

Relates to #161