Updated service template library to allow resource IDs as service name strings