A lazy way of doing singular resources

I'm not 100% sure this works in all cases, but exporting id as the empty string from a resource with only the singular actions, plus a bit of special-casing on that, and it seems to fall out.

Please take a look when you have a moment.