In the polymer or polymerisable compound the amino acid residue (???L??? in formula I) is a substituted or unsubstituted hydrocarbon, which may contain heteroatoms, such as N, S, P and/or O.The amino acid residue L may be based on a D-isomer or an L-isomer of an amino acid.