Limit service instance names to 50 characters

[Finishes #50667131]