I read that for a time in the beta there were options to permanently dismiss/kill companions. They took this out of the game because people cried about being short a companion later on because of this.
This was also before they designated what each companion's role would be. At one time in beta, the customizations are what made their roles. So any of them could be any of the roles.