Says @joshcooper 

```
@Iristyle can you rework SID#name_to_sid to call your method, so that we don't have two copies of the same logic?
```

I had thought of that, but the logic isn't quite the same since the previous string check shortcut would no longer apply.  I suppose I probably shouldn't have been too concerned with the extra object creation, and will mod accordingly.