id_param now returns nil when the param is nil
Made ControllerResource#id_param a little more succinct.

Signed-off-by: James McCarthy <james@thisishatch.co.uk>