medium: ui_resource: Only act on resources (#64)

Ensure that the resource sublevel only changes the properties
of actual resources. This allows creating resources that share the same
id as a node uname.

Note that in this case, the node id needs to be different from its
uname.

Fixes #64