Joint Changepoint Detection and Identification