Conceptual analysis of black hole entropy in string theory