This is getSpatialFieldManagerId, a member of class OdBmAnalysisDisplayLegend.
OdBmAnalysisDisplayLegend Methods