creating a slightly different structure and namespace management scheme for localref