Merge "Create util method to get dimension from attribute." into pi-car-dev