get proper key field from CArrayDataProvider