Get returns the value and index of the first attribute with the provided
local name from a list of attributes or -1 and an empty string if no such
attribute exists.
RandomID generates a new random identifier of length IDLen. If the OS's
entropy pool isn't initialized, or we can't generate random numbers for some
other reason, panic.