Retrieves the relationship id and attribute from the given field string if a relationship exists.
The field string that possibly contains the relationship.
The id of the relationship and the attribute or undefined for both if one can't be found.
Retrieves the relationship id and attribute from the given field string if a relationship exists.