Return key id when creating new key