Right now it only works on one object at a time, there is no reason why it couldn't work on multiple objects selected at once. It would be a great convenience when you need to break apart several objects without losing their previously defined names.
This also doesn't work for a single object selected within a group, and that would be convenient for the same reasons.