Black Holes and Higher Composition Laws