malloc: add function to query socket ID of named heap