Person Re-identification by Articulated Appearance Matching