Make FlatFunction parameterized with the signal id type.