[opf] changing params of sql generation of collections to owner class and owner attrmetadata, in order to fix ambiguity