A man who for 15 years eluded identification as a violent rapist was sentenced to three decades in prison after pleading guilty to aggravated rape, Suffolk County District Attorney Daniel F. Conley said.