Utility to dynamically resolve API functions by name