restlet ids back to longs