Returns a unique ID for a given type and parameter signature