This function is used to retrieve the id of a dimension.
dimension.getId(dimension_name)
dimension_name
let dimension_id = dimension.getId("time");