Add named logic iris

The title pretty much says it all, allow logic-urls to contain the (cleaned) name instead of the numbered id.
Style/GuardClause: Use a guard clause instead of wrapping the code inside a conditional expression.