Make /ticks work with a dimension id

Signed-off-by: Ross Allan <rallanpcl@gmail.com>