Get a function by its unique ID.