Use record name as fallback in slug lookup

Signed-off-by: Tom Wright <tom@inflatablecookie.com>