You are right except that there was nothing like separate name or distinct identity to do away with social evils.That was just like various other sects of Hinduism during Bhakti Andolan of 14/15th century onwards.
Separate identity was introduced by Guru Gobind Singh ji on 13-04-1699 which actually and practically was a military wing to take up weapons against opressors.