A developer has acquired a purpose-built student accommodation scheme, with support from full-service law firm Shakespeare Martineau.