Added support for getting farmer ID from API