Modifications to handle custom fields containing custom record refs as a value

right now only platformCore:SelectCustomFieldRef is supported
Fixing misclassified fields
Adding convenience method for accessing custom field value