Delete a function by its unique ID.