Added method to split model from namespace to use as pivotEntity type