Infer collection name from model