Use id/action links instead of action/id

Resolves gh-21