Find the key to use for lookup