Cast ID if we've got it