Added method to get index of node in membership list based on String hostname