i think we should keep the uid generation in it's own function, so it's easier to find down the line when we do move to an accessibility plugin