Automatic Attribute Learning for Person Re-Identification